import 'package:flutter/material.dart';
import 'pages/bars.dart';
import 'pages/search.dart';
import 'pages/news.dart';
import 'pages/form.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      // home: Bars(),
      debugShowCheckedModeBanner: false,
      initialRoute: "/",
      routes: {
        "/": (context) => const Bars(),
        "/news": (context) => const NewsPage(),
        "/search": (context) => const SearchPage(),
        "/form": (context) => const FormPage(),
      },
    );
  }
}
